class CellData {
    private Object value;
    private int colSpan;
    private int rowSpan;
    private int posRow;
    private int posCol;


    public Object getValue() {
        return value;
    }

    public int getColSpan() {
        return colSpan;
    }

    public int getRowSpan() {
        return rowSpan;
    }

    public int getPosRow() {
        return posRow;
    }

    public int getPosCol() {
        return posCol;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public void setColSpan(int colSpan) {
        this.colSpan = colSpan;
    }

    public void setRowSpan(int rowSpan) {
        this.rowSpan = rowSpan;
    }

    public void setPosRow(int posRow) {
        this.posRow = posRow;
    }

    public void setPosCol(int posCol) {
        this.posCol = posCol;
    }

    @Override
    public String toString() {
        return "CellData{" +
                "value=" + value +
                ", colSpan=" + colSpan +
                ", rowSpan=" + rowSpan +
                ", posRow=" + posRow +
                ", posCol=" + posCol +
                '}';
    }
}
